﻿using SheepStorage.Domain.DTO.Output;
using SheepStorage.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SheepStorage.Service.Interface
{
    /// <summary>
    /// 羊场管理服务接口
    /// </summary>
    public interface ISheepManagementService
    {
        /// <summary>
        /// 羊场添加
        /// </summary>
        /// <param name="sheepManagement"></param>
        /// <returns></returns>
        Task<int> AddSheepManagement(SheepManagement sheepManagement);

        /// <summary>
        /// 羊场显示
        /// </summary>
        /// <param name="SheepYardName"></param>
        /// <param name="SheepDuty"></param>
        /// <returns></returns>
        Task<PageOutput<SheepManagement>> GetSheepManagement(string? SheepYardName, string? SheepDuty, int pageIndex, int pageSize);

        /// <summary>
        /// 羊场删除
        /// </summary>
        /// <param name="sheepManagementId"></param>
        /// <returns></returns>
        int DelSheepManagement(int sheepManagementId);
        
        /// <summary>
        /// 羊场反填
        /// </summary>
        /// <param name="sheepManagementId"></param>
        /// <returns></returns>
        SheepManagement GetFtSheepManagement(int sheepManagementId);


        /// <summary>
        /// 羊场修改
        /// </summary>
        /// <param name="sheepManagement"></param>
        /// <returns></returns>
        Task<int> UpdaSheepManagement(SheepManagement sheepManagement);

       

    }
}
